header{
    width: 100%;
    overflow: scroll;
}
footer{
    width: 100%;
}


.swiper-container {
    width: 100%;
    height: 200px;
}  
main{
    text-align: center;
    justify-content: center;
   
    padding:10px 10px 0px 10px ;
}
.plate-one{
justify-content: space-between;

}

// 排名
.rank {
    width: 150px;
    height: 150px;
    background-color: #1592CC ;
    border-radius: 20px;
    flex: 2;
    position: relative;
    padding-top: 10px;

    span{
        color: rgba(0, 78, 115, 100);
         font-size: 20px;
         position: absolute;
         left: 10px;

    }
   
    i{
       
        width: 100px;
        height: 100px;
        background-image: url(../imgs/index-card-rank.png);
        background-repeat: no-repeat;
        background-size: contain;
        position: absolute;
        left: 0;
        bottom: 10px;
        
    }
    p{
        color: rgba(255, 255, 255, 100);
        font-size: 80px;
        position: absolute;
        right: 0px;
        bottom: 10px;
        z-index: 1;
    }
}
//打卡
.punch{
    width: 150px;
    height: 150px;
    border-radius: 20px;
    background-color: #7BCBF5;
    flex: 3;
    position: relative;
    padding-top: 10px;
    
    span{
        color: rgba(0, 81, 119, 100);
        font-size: 20px;
        position: absolute;
        left: 5px;
    
    }
    i{  
        width: 100px;
        height: 100px;
        
        background-size: contain;
        background-image: url(../imgs/index-card-sum.png);
        position: absolute;
        left: 3px;
        bottom: 10px;
    }
    p{
        width: 100px;
        height: 40px;
        border-radius: 30px;
        border: 3px solid rgba(0, 81, 119, 100);
        position: absolute;
        right: 0;
        bottom: 10px;
        line-height: 40px;
        text-align: center;
    }
  

}

.plate-two{
    justify-content: space-between;
 }
 // 运动数据
.sport-count{
    width: 150px;
    height: 110px;
    border-radius: 20px;
    background-image: url(../imgs/index-card-data.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    span{
        color: rgba(255, 255, 255, 100);
        font-size: 16px;
        position: absolute;
        left: 5px;
        top: 10px;
    }
   

}
// 运动徽章
.badge{
    width: 150px;
    height: 110px;
    background-color: #9DBDE3;
    border-radius: 20px;
    position: relative;
   .add {
        color: rgba(0, 81, 119, 100);
        font-size: 16px;
         position: absolute;
         left: 5px;
         top: 10px;
    }
    i{
        width: 80px;
        height: 80px;
        
        background-image: url(../imgs/index-card-badge.png);
        background-repeat: no-repeat;
        background-size: contain;
        position: absolute;
        left: 5px;
        bottom: 0px;
        opacity: 0.5;
    }
    p{
        color: rgba(0, 81, 119, 100);
         font-size: 18px;
         position: absolute;
         right: 0;
         bottom: 10px;
         span{
            font-size: 80px;
         }
    }

}

// 课程训练
.plate-three{
    width: 100%;
    height: 120px;
    background-image: url(../imgs/course-img04.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    border-radius: 15px;
    position: relative;
    span{
        color: rgba(255, 255, 255, 100);
        font-size: 18px;
        position: absolute;
        left: 5px;
        top: 10px;


    }
}
// 户外跑步
.outrun{
    width: 100%;
    height: 120px;
    background-image: url(../imgs/index-card-run.png);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px;
    position: relative;
    span{
        color: rgba(255, 255, 255, 100);
        font-size: 18px;
        position: absolute;
        left: 5px;
        top: 10px;


    }

}
